      
<? 
include ("seguridad.php");
require_once 'includes/funciones.php';

conexion();
?>
<head>
<!-- Copyright 2005 Macromedia, Inc. All rights reserved. -->
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="plugins/thickbox/thickbox.css" type="text/css" media="screen">
<title><?php titulo();?></title>
        <link type="text/css"  href="plugins/jq_ui/css/custom-theme/jquery-ui-1.8.14.custom.css" rel="stylesheet"/> 
        <link rel="stylesheet" href="2col_rightNav.css" type="text/css" />
	<link rel="stylesheet" href="plugins/thickbox/thickbox.css" type="text/css" media="screen">
	<script src="plugins/jq_ui/js/jquery-1.4.4.min.js"></script>
	<script  src="plugins/jq_ui/development-bundle/ui/jquery.ui.widget.js"></script>
	<script src="plugins/jq_ui/development-bundle/ui/jquery.ui.button.js"></script>
	<script  src="plugins/thickbox/thickbox.js"></script>
                        <script type="text/javascript"  src="plugins/jquery_validate/jquery.validate.js"></script>

<script>
  $(document).ready(function(){
		
	$("#form1").validate({
		rules: {			
                     nombre: {
                            required: true
                            },
			email: {
				required: true,
				email: true
			}

		},
		messages: {

                        nombre: {
				required: "*"
				
			},
                        email: {
                               required: "*",
                               email:"<br>Ingrese una direccion de email valida"}
			
			
		}
	});
	
  });
</script>
<script type="text/javascript">
$(function()
    {
	$( "#boton1" )
        	.button()
    })
</script>

</head>
<!-- The structure of this file is exactly the same as 2col_leftNav.html;
     the only difference between the two is the stylesheet they use -->

<body>
    <div   class="supercontendeor">
 <div id="encabezado">
   	<?php
	require_once("encabezado.php");

	?> 
</div>
<!-- fin encabesado -->
<div id="content">
  <div id="breadCrumb"></div>
  <h2 id="pageName">Agregar Organización</h2>
  <div class="feature">
    <form action="control_org.php" method="post" enctype="multipart/form-data" name="form1" id="form1">


  
    <p>&nbsp;</p>
    <table width="567" border="0">
      <tr>
        <td width="148"><label>
          <div align="right">Nombre 
            </label>
          </div></td>
        <td colspan="3"><label>
        <input name="nombre"  id="nombre" type="text" size="60">
        </label></td>
        </tr>
      <tr>
        <td><label> 
          <div align="right">E-mail 
            </label> 
          </div></td>
        <td colspan="3"><label>
        <input name="email" id= "email" type="text" size="60">
        </label></td>
        </tr>
      <tr>
        <td><label> 
          <div align="right">Telefono 
            </label> 
          </div></td>
        <td colspan="3"><label>
        <input name="tel" id="tel" type="text" size="60">
        </label></td>
        </tr>
      <tr>
        <td><label>
          <div align="right">Responsable 
            </label> 
          </div></td>
        <td colspan="3"><label>
        <input name="responsable" id="responsable" type="text"  size="60">
        </label></td>
        </tr>
      
      <tr>
        <td><label>
          <div align="right">Descripción 
            </label> 
          </div></td>
        <td width="299"><label>
          <textarea name="des" id="des" cols="47" rows="4"></textarea>
        </label></td>
        <td width="69"></td>
        <td width="33"></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td></td>
        <td></td>
      </tr>
      <tr>
        <td align="right"><div align="right"><br>
        </div>          <label>
          <div align="right"></div>
          </label></td>
        <td><div align="center"><br><br>
            <input name="boton" type="hidden" id="boton" value="1"></input>
            <input id="boton1"type="submit" name="Submit" value="Guardar">        
        </div></td>
        <td colspan="2">&nbsp;</td>
      </tr>
    </table>
    <p>&nbsp;</p>
    </form>
    <div id= "resultados">
      <hr>
    </div>
    
    <p>
      <?php 


/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>
    </p>
    <p>&nbsp;</p>
  </div>
  <div class="story">
    <h3>&nbsp;</h3>
  </div>
  <div class="story"></div>
</div>
<!--end content -->
<div id="menuderecha">
     	<?php
	require_once("menuderecha.php");

	?> 
</div>
<!--fin menuderecha -->
<div id="footer">
     	<?php
	require_once("footer.php");

	?> 
</div>

<br />
    </div>
</body>
</html>